/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package be.hogent.iii.project.guigameroom;

import javax.swing.JList;
import javax.swing.JPanel;

/**
 *
 * @author jef donders
 */
public class GamesLijstPanel extends JPanel {

    public GamesLijstPanel(){
        
        String[] namen2 = {"joske", "jef", "tim", "josefien","marieke"};
        JList lijst = new JList(namen2);
        add(lijst);
                
        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(layout.createSequentialGroup()
            .addComponent(lijst,200,200,200)
        );
        layout.setVerticalGroup(layout.createSequentialGroup()
            .addComponent(lijst,400,400,400)
        );
    }
}
